import { createApp } from 'vue'
import 'amfe-flexible'
import App from './App.vue'
import router from './router/index'
import Vant from 'vant'
import pinia from './store/index'
import {Image as VanImage,Search,Divider,TreeSelect,Tabbar, TabbarItem,Icon,Tab, Tabs,Collapse, CollapseItem,Button ,Swipe, SwipeItem,Grid,ConfigProvider, GridItem,NavBar,BackTop , Sticky,List,Cell, CellGroup } from 'vant'
import store from './store'  

import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import 'vant/lib/index.css';


const app= createApp(App)
app.use(Cell);
app.use(CellGroup);
app.use(List);
app.use(BackTop);
app.use(ConfigProvider);
app.use(Sticky);
app.use(NavBar);
app.use(Grid);
app.use(GridItem);
app.use(Swipe);
app.use(SwipeItem);
app.use(Tab);
app.use(Button);
app.use(Tabs);
app.use(Icon);
app.use(Collapse);
app.use(CollapseItem);
app.use(router);
app.use(Tabbar);
app.use(TabbarItem);
app.use(ElementPlus);
app.use(Vant)
app.use(pinia)

app.use(Search);
app.use(Divider)
app.use(TreeSelect)
app.use(router);
app.use(store);
app.use(Tabbar);
app.use(TabbarItem);
app.use(Search);
app.use(Icon);
app.use(NavBar);
app.use(VanImage);
app.use(Swipe);
app.use(SwipeItem);
app.use(Grid);
app.use(GridItem);
app.use(List);
app.use(ElementPlus)
app.use(Vant)
app.use(pinia)
app.use(store)
app.use(router)
app.mount('#app')
